﻿using Slippor.Douban.Radio.Assist;
using Slippor.Douban.Radio.Filter;

namespace FavFilterPlugin
{
    public class FavFilter : IFilter
    {
        public const string Key = "#Fav";
        #region IFilter Members
        public bool Filter(ref Song song)
        {
            if (song.FaveState != FavState.Fav)
            {
                return true;
            }
            return false;
        }

        public string Name
        {
            get { return Key; }
        }

        #endregion
    }
}